<template>
    <rx-dialog @handOk="handleSubmit" @cancel="cancel">
        <rx-layout>
            <div slot="center">
                <a-form style="height:100%;">
                    <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$comi18('rxDialog.name', '标题')">
                        <a-input v-model="title" style="width: 80%"></a-input>
                    </a-form-item>
                    <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="i18n('defValue','默认值')">
                        <a-input v-model="value" style="width: 80%"></a-input>
                    </a-form-item>
                </a-form>
            </div>
        </rx-layout>
    </rx-dialog>
</template>

<script>
import filter from "./filter";
export default {
    name:'text-filter',
    mixins:[filter],
    methods: {
        i18n(name,text,key){
            return this.$ti18(name,text,"codeGenSetting",key);
        },
    },
}
</script>

<style scoped>

</style>